cmake_minimum_required(VERSION 3.5)

project(GlobalSymbol VERSION 0.1 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(ProgramName GlobalSymbol)

add_library(${ProgramName} SHARED
  GlobalSymbol.cpp
  GlobalSymbol.h
  GlobalSymbol_global.h
)

set_target_properties(${PROJECT_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
target_compile_definitions(GlobalSymbol PRIVATE GLOBALSYMBOL_LIBRARY)
